package com.ict.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.web.controller.file.dto.YzqFileDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 出参实体 yzq_notice
 *
 * @author xss
 * @date 2022-02-15
 */
@Data
public class NoticeVo {
    @ApiModelProperty(value = "公告id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long noticeId;

    @ApiModelProperty(value = "公告标题")
    private String noticeTitle;

    @ApiModelProperty(value = "公告内容")
    private String noticeContent;

    @ApiModelProperty(value = "公告操作人")
    private String noticeOperator;

    @ApiModelProperty(value = "公告状态:{0:未发布;1:已发布}")
    private String noticeStatus;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "公告附件id")
    private String noticeFileId;

    @ApiModelProperty(value = "公告附件名字")
    private String noticeFileName;

    @ApiModelProperty(value = "公告附件url")
    private String noticeFileUrl;
}
